package grail.podcast.player
{
	[Bindable]
	public class PodcastModel
	{
		
		public var playbackLength :Number = 0;
        public var playbackPosition :Number = 0;
        
        public var percentLoaded : Number = 0;
		
		private static var instance : PodcastModel;
		
        public function PodcastModel() 
        {   
           if ( instance != null )
           {
              return;
           }
           instance = this;
        }
        
        public static function getInstance() : PodcastModel 
        {
           if ( instance == null )
               instance = new PodcastModel();
           return instance;
        }
	}
}